using ERP.Domain.Products;

namespace Product.API.ISerivces.ProcessRoute
{
    /// <summary>
    /// 工艺路线服务接口
    /// </summary>
    public interface IProcessRouteSerivce
    {
        /// <summary>
        /// 工艺路线添加
        /// </summary>
        /// <param name="processRoute">工艺路线信息</param>
        /// <returns>返回受影响行数</returns>
        Task<int> CreateProcessRoute(ERP.Domain.Products.ProcessRoute processRoute);

        /// <summary>
        /// 工艺路线修改
        /// </summary>
        /// <param name="processRoute">工艺路线信息</param>
        /// <returns>返回受影响行数</returns>
        Task<int> UpdateProcessRoute(ERP.Domain.Products.ProcessRoute processRoute);

        /// <summary>
        /// 工艺路线删除（逻辑）
        /// </summary>
        /// <param name="Id">主键</param>
        /// <returns>返回受影响行数</returns>
        Task<int> DeleteProcessRoute(int Id);
    }
}


